package com.study.scheduled.thread;

import com.study.scheduled.config.OpcParams;

import java.util.List;

/**
 * 执行业务的子线程
 */
public class SonTread implements Runnable {

    private String name;

    private String url;

    private List<OpcParams.Params> params;

    public SonTread(String name, String url, List<OpcParams.Params> params){
        this.name = name;
        this.url = url;
        this.params = params;
    }

    @Override
    public void run() {
        // TODO 执行业务
        System.out.println("业务开始执行了，--------" + name);
    }
}
